a11y tests: Adapt to changes
authorMatthias Clasen <mclasen@redhat.com>
Sun, 10 Feb 2019 03:47:13 +0000 (22:47 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 10 Feb 2019 23:43:59 +0000 (18:43 -0500)
The buttons in the stack switcher are now toggle buttons, no
longer radio buttons. Update expected output for that.

testsuite/a11y/about.txt
testsuite/a11y/stack.txt

index 5dd586cc954379dca2bf49cf519027805bf8830e..fdb3ab1e2c4a0dac09fbb7f743b2bd403755dad3 100644 (file)
@@ -370,15 +370,11 @@ See the GNU General Public License, version 3 or later for details.
       <AtkComponent>
       layer: widget
       alpha: 1
-      unnamed-GtkRadioButtonAccessible-2
-        "radio button"
+      unnamed-GtkToggleButtonAccessible-2
+        "toggle button"
         parent: stack_switcher
         index: 0
         name: About
-        member-of: unnamed-GtkRadioButtonAccessible-3
-                   unnamed-GtkRadioButtonAccessible-4
-                   unnamed-GtkRadioButtonAccessible-5
-                   unnamed-GtkRadioButtonAccessible-2
         state: checked enabled focusable sensitive visible
         toolkit: gtk
         <AtkComponent>
@@ -390,15 +386,11 @@ See the GNU General Public License, version 3 or later for details.
         <AtkAction>
         action 0 name: click
         action 0 description: Clicks the button
-      unnamed-GtkRadioButtonAccessible-5
-        "radio button"
+      unnamed-GtkToggleButtonAccessible-3
+        "toggle button"
         parent: stack_switcher
         index: 1
         name: Credits
-        member-of: unnamed-GtkRadioButtonAccessible-3
-                   unnamed-GtkRadioButtonAccessible-4
-                   unnamed-GtkRadioButtonAccessible-5
-                   unnamed-GtkRadioButtonAccessible-2
         state: enabled focusable sensitive
         toolkit: gtk
         <AtkComponent>
@@ -410,15 +402,11 @@ See the GNU General Public License, version 3 or later for details.
         <AtkAction>
         action 0 name: click
         action 0 description: Clicks the button
-      unnamed-GtkRadioButtonAccessible-4
-        "radio button"
+      unnamed-GtkToggleButtonAccessible-4
+        "toggle button"
         parent: stack_switcher
         index: 2
         name: License
-        member-of: unnamed-GtkRadioButtonAccessible-3
-                   unnamed-GtkRadioButtonAccessible-4
-                   unnamed-GtkRadioButtonAccessible-5
-                   unnamed-GtkRadioButtonAccessible-2
         state: enabled focusable sensitive
         toolkit: gtk
         <AtkComponent>
@@ -430,15 +418,11 @@ See the GNU General Public License, version 3 or later for details.
         <AtkAction>
         action 0 name: click
         action 0 description: Clicks the button
-      unnamed-GtkRadioButtonAccessible-3
-        "radio button"
+      unnamed-GtkToggleButtonAccessible-5
+        "toggle button"
         parent: stack_switcher
         index: 3
         name: System
-        member-of: unnamed-GtkRadioButtonAccessible-3
-                   unnamed-GtkRadioButtonAccessible-4
-                   unnamed-GtkRadioButtonAccessible-5
-                   unnamed-GtkRadioButtonAccessible-2
         state: enabled focusable sensitive
         toolkit: gtk
         <AtkComponent>
index 5a82eea47703ef21749ff108a014effe555dd845..bb0732558621da588393a68639b1c78279612a9b 100644 (file)
@@ -25,13 +25,11 @@ window1
       <AtkComponent>
       layer: widget
       alpha: 1
-      unnamed-GtkRadioButtonAccessible-0
-        "radio button"
+      unnamed-GtkToggleButtonAccessible-0
+        "toggle button"
         parent: stackswitcher1
         index: 0
         name: Page 1
-        member-of: unnamed-GtkRadioButtonAccessible-1
-                   unnamed-GtkRadioButtonAccessible-0
         state: checked enabled focusable sensitive showing visible
         toolkit: gtk
         <AtkComponent>
@@ -43,13 +41,11 @@ window1
         <AtkAction>
         action 0 name: click
         action 0 description: Clicks the button
-      unnamed-GtkRadioButtonAccessible-1
-        "radio button"
+      unnamed-GtkToggleButtonAccessible-1
+        "toggle button"
         parent: stackswitcher1
         index: 1
         name: Page 2
-        member-of: unnamed-GtkRadioButtonAccessible-1
-                   unnamed-GtkRadioButtonAccessible-0
         state: enabled focusable sensitive showing visible
         toolkit: gtk
         <AtkComponent>